home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / sound / randysnd.zip / MAKEFILE next >
Text File  |  1992-06-11  |  2KB  |  68 lines

  1. # RandySnd is (C) 1992 Anthony McCarthy
  2. #
  3. # Feel free to use and abuse this program to your own ends.
  4. # However, it is provided FREE, AS-IS and with absolutely NO
  5. # WARRANTY whatsoever. Use it at your own risk.
  6. #
  7. # If you really like this program, a donation of a few pounds,
  8. # dollars, roubles, francs or whatever would be appreciated, to:
  9. # Anthony McCarthy, 14 Beryl Road, Bedminster, Bristol, BS3 3DH, UK
  10. #
  11. # Having said there's no warranty, please report any bugs to:
  12. #  100012.3712@compuserve.com  or  amccarthy@cix
  13. #
  14. # This is the MSC7 makefile for the RANDYSND Windows 3.1 utility
  15.  
  16.  
  17. DEBUG_BUILD = 0
  18.  
  19.  
  20. !IF $(DEBUG_BUILD)
  21.  
  22. CLDBG = -Od -Zi
  23. LNDBG = /CO
  24.  
  25. !ELSE
  26.  
  27. CLDBG = -Os
  28. LNDBG =
  29.  
  30. !ENDIF
  31.  
  32.  
  33.  
  34. all: randysnd.exe
  35.  
  36.  
  37. UPCH = -Yuafxwin.h
  38. CC = cl -c -d -Fpafxwin.pch -W4 -G2 -GAs -Zp -AS $(CLDBG)
  39.  
  40. afxwin.pch: makefile
  41.   $(CC) -Yd -Ycafxwin.h -Fonul.nul randysnd.cpp
  42.  
  43. randysnd.res: randysnd.rc randysnd.dlg randysnd.h
  44.   rc -r randysnd.rc
  45.  
  46. randysnd.obj: randysnd.cpp randysnd.h afxwin.pch
  47.   $(CC) $(UPCH) $*.cpp
  48.   
  49. randysnd.def: makefile
  50.   copy << randysnd.def
  51. NAME RANDYSND
  52. DESCRIPTION 'System Sound Randomizer : (C) 1992 Anthony McCarthy'
  53.  
  54. STUB 'WINSTUB.EXE'
  55. EXETYPE WINDOWS
  56.  
  57. HEAPSIZE  1000
  58. STACKSIZE 8000
  59.  
  60. CODE MOVEABLE LOADONCALL DISCARDABLE
  61. DATA MOVEABLE MULTIPLE
  62. <<
  63.  
  64. randysnd.exe: randysnd.obj randysnd.res randysnd.def makefile
  65.   link $(LNDBG) /NOD /NOE randysnd,,,safxcw shell mmsystem commdlg libw slibcew,randysnd.def;
  66.   rc -v -t randysnd.res
  67.  
  68.